//============ com.pengesoft.domain.RepairApplyList =============
import {DataPacket, NorDataList} from 'pengesoft-ng-lib';

export class RepairApplyList extends NorDataList<RepairApply> {
    constructor() {
        super();
    }
}
//============ com.pengesoft.domain.RepairApply =============


export class RepairApply extends DataPacket {
    UpdateDate: Date;
    Description: string;
    ApplicantName: string;
    Type: number;
    DeviceId: string;
    DeviceName: string;
    Phone: string;
    IsWithdraw: number;
    DetailAddress: string;
    Id: string;
    State: number;
    ApplicantId: string;
    CreateDate: Date;
    constructor(opts: {
        UpdateDate?: Date;
        Description?: string;
        ApplicantName?: string;
        Type?: number;
        DeviceId?: string;
        DeviceName?: string;
        Phone?: string;
        IsWithdraw?: number;
        DetailAddress?: string;
        Id?: string;
        State?: number;
        ApplicantId?: string;
        CreateDate?: Date;
    } = {}) {
        super();
        this.UpdateDate = opts.UpdateDate || null!;
        this.Description = opts.Description || '';
        this.ApplicantName = opts.ApplicantName || '';
        this.Type = opts.Type || 0;
        this.DeviceId = opts.DeviceId || '';
        this.DeviceName = opts.DeviceName || '';
        this.Phone = opts.Phone || '';
        this.IsWithdraw = opts.IsWithdraw || 0;
        this.DetailAddress = opts.DetailAddress || '';
        this.Id = opts.Id || '';
        this.State = opts.State || 0;
        this.ApplicantId = opts.ApplicantId || '';
        this.CreateDate = opts.CreateDate || null!;
    }
}

